package com.gymjournal

class Note {
    public static final int CONTENT_MAX_LENGTH = 255;

    static belongsTo = [Gymnastic, GymSet, Training]

    String content

    static constraints = {
        content(nullable: true, maxSize: CONTENT_MAX_LENGTH)
    }

    @Override
    String toString() {
        content
    }
}
